package com.his.system.manager.entity;

import com.his.system.manager.config.ConstantProperties;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * invoice
 *
 * @author
 */
@Data
public class InvoiceEntity implements Serializable {
    /**
     * ID主键
     */
    private Integer id;

    /**
     * 发票号码
     */
    private String invoicenum;

    /**
     * 发票金额
     */
    private BigDecimal money;

    /**
     * 发票状态  1-正常  2-作废
     */
    private Integer state;

    /**
     * 收/退费时间
     */
    @DateTimeFormat(pattern = ConstantProperties.DATE_TIME_FORMAT)
    private Date creationtime;

    /**
     * 收/退费人员ID
     */
    private Integer userid;

    /**
     * 挂号ID
     */
    private Integer registid;

    /**
     * 收费方式
     */
    private Integer feetype;

    /**
     * 冲红发票号码
     */
    private String back;

    /**
     * 发票状态  0-未日结  1-已提交  2-已审核
     */
    private Integer dailystate;

    private static final long serialVersionUID = 1L;
}